package com.wy.two.Builder;

/**
 * @author 33117
 * @version 1.0
 * @data 2025/3/10 16:12
 * 接下来，我们创建两个具体的建造者类 ConcreteHouseBuilder 和 LuxuryHouseBuilder
 * 分别实现了不同类型房屋的构建过程。
 * 具体建造者类 - 普通房屋
 */
public class ConcreteHouseBuilder extends HouseBuilder {
    @Override
    public void buildFoundation() {
        house.setFoundation("Standard Foundation");
    }

    @Override
    public void buildStructure() {
        house.setStructure("Standard Structure");
    }

    @Override
    public void buildRoof() {
        house.setRoof("Standard Roof");
    }

    @Override
    public void buildInterior() {
        house.setInterior("Standard Interior");
    }
}
